package cn.jc.springframework.beans.factory.support;

import cn.jc.springframework.beans.BeansException;
import cn.jc.springframework.beans.factory.config.BeanDefinition;

import java.lang.reflect.Constructor;

/**
 * @Description:
 * @author: JC
 * @date: 2022/5/31 18:43
 */
public interface InstantiationStrategy {

    Object instantiate(BeanDefinition beanDefinition, String beanName, Constructor ctor, Object[] args) throws BeansException;

}
